<?php
/**
 * User: Niuxitong
 * Date: 2021/2/2 16:01
 */
namespace app\admin\controller;
use app\common\controller\Backend;
use think\Request;

/**
 * 下载中心页面
 * Class Downloadcenter
 * @package app\admin\controller
 */
class Downloadcenter extends Backend
{

    protected $noNeedLogin = ['index'];
    protected $noNeedRight = [];
    protected $layout = '';

    public function _initialize()
    {
        parent::_initialize();
        $this->view->assign('isLogin', $this->auth->isLogin());
    }

    /**
     * 下载中心首页
     */
    public function index()
    {
        $request = Request::instance();
        $domain = $request->domain();

        $platform = $this->request->request('platform');

        $this->view->assign('title', '下载中心');
        return $this->view->fetch();
    }

}
